package com.example.demo.service;

import com.example.demo.mapper.BossesMapper;
import com.example.demo.pojo.Bosses;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BossesServiceImpl implements BossesService {

    @Resource
    private BossesMapper bossesMapper;

    @Override
    public List<Bosses> query(Integer startIndex, Integer pageSize) {
        return bossesMapper.query(startIndex, pageSize);
    }
}
